author profile image

Matt Reid

Solo Entrepreneur | Lead Software Architect

I have been searching for a while for the best customised HorizontalScrollView  that has a snapping effect (as seen in Pulsefor example). I have finall come across one that I am happy with by  Yoni Samlan.  horizontalpager (hosted on github) is an extended ViewGroup which makes each View inside it, fill the...

Just a quick post today. I was having problems refreshing a JTree and keeping the expanded paths in-tact. Instead of calling reload() on themodel i needed to be calling nodeChanged even if a node is being removed. Here is the snippet: ((DefaultTreeModel)tree.getModel()).nodeChanged(actualNode);//notify the model that the node has changed Matt  

If you have a listview and the elements get a black background when scrolling, cachecolorhint  is your saviour. Just add the following to the listview xml file android:cacheColorHint="#00000000" Here is an explanation. Matt  

I have changed my post editor to use CLEditorrather than WMeditor which had some problems when editing a post. One feature which is obviosuly really important to me is to be able to include code in pre blocks. Luckily I found this plugin at github which makes it easy to include this...

I have been working on a Spring MVC web app that needed to accept a multi-part file upload (an excel file in this case). There are plenty of examples of handling file uploads with Spring but I couldn’t find a concrete example for a web app that was using a...